
/* Setting for slider nivo */

$(document).ready(function() {
        $('#slider').nivoSlider({
		animSpeed:800, // Slide transition speed
        pauseTime:3000, // How long each slide will show
		startSlide:0
		});
    });
/* Setting for slider news */

$(document).ready(function(){
	$('#slides2').bxSlider({
		prev_image: '/public/skin/front-end/images/icon_previus.png',
		next_image: '/public/skin/front-end/images/icon_next.png',
		wrapper_class: 'slides2_wrap',
		auto: true,
		auto_controls: false,
		pager:false
	});
});


/* Setting for validator */

$(document).ready(function () {
		$('#form1').bValidator();
	});

/* Setting for lightbox */

$(function() {
		   var numberImage = $('#gallery a.mylightbox').length;
		   $("#gallery").jCarouselLite({
			        btnNext: ".next_medium",
			        btnPrev: ".prev_medium",
			        visible: 4, 
			        speed: 500,
			        auto: 2500	
			    });
			$('#gallery a.mylightbox').lightBox({
				numberOfImage: numberImage
			});

			
			
			});
    	/*	$(function() {
        		$('.thumb_gallery a').lightBox();
    		});*/
    		
